package com.example.demo.provider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.demo.api.HelloService;

@Service(timeout = 6000)
public class DemoSeviceImpl implements HelloService {

    public String getName(String name) {
        return "注解实现:" + name;
    }

    public void sayHello(String name) {
        System.out.println("注解实现say hell:" + name);
    }
}
